from typing import List


class Solution:
    def maximumProduct(self, nums: List[int]) -> int:
        nums.sort()
        return max(nums[0] * nums[1] * nums[len(nums) - 1], nums[len(nums) - 1], nums[len(nums) - 2], nums[len(nums) - 3])


if __name__ == '__main__':
    print(Solution().maximumProduct([13]))